package com.xxx.util;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

public class QueryDataResult {
	public ResultSet resultSet;
	public Connection connection;
	public Statement statement;
	
	public QueryDataResult(ResultSet resultSet, Connection connection, Statement statement) {
		super();
		this.resultSet = resultSet;
		this.connection = connection;
		this.statement = statement;
	}

	public void close() {
		DBManager.closeAll(resultSet, statement, connection);
	}
}
